//用户数据操作
import {localStorageX} from "storagex-js";
const state = localStorageX(
    "userContainer",
    {
        user:{},
    }
);

const mutations = {
    setUser(_state,user){  //写入用户信息
        _state.user = user;
    },
}

const actions = {};

export default {
    namespaced: true,
    state,
    mutations,
    actions,
};

